package org.blogwu.learn.temp;

import java.time.Instant;
import java.time.temporal.ChronoUnit;

class Parent<S>{
    protected  static  int i = 0;

    public Parent(){
        i++;
    }
    public static int  getI(){
        return i;
    }

}

public class A extends  Parent{
    public A(){

        i++;
    }
    public A(int a){
        i++;
    }
    public static void main(String[] args) {
//        System.out.println(""+getI());
//        A a= new A();
//        System.out.println(""+getI());
//
//   Double d =0.1;
//        System.out.println( (d instanceof  Double)?true:false);
//
//        int i1 =0;
//        System.out.println( (0 == i1++ )?true:false);
        Instant plus100days = Instant.EPOCH.plus(1, ChronoUnit.DAYS);
        System.out.println(plus100days);
        System.out.println(Instant.EPOCH);
    }

}
